package com.domino.shared;

import java.io.Serializable;

import com.domino.shared.model.Board;
import com.domino.shared.model.Brick;
import com.domino.shared.model.Color;
import com.domino.shared.model.Point;
import com.domino.shared.session.SessionId;

public class PutRequest implements Serializable {
	
	SessionId sessionId;
	int roundNumber;
	private Point point;
	private Color clientColor;
	private Brick move;
	
	public PutRequest() {	
	}
	
	public PutRequest(SessionId sessionId, int roundNumber, Brick move) {
		this.roundNumber = roundNumber;
		this.move = move;
		this.sessionId = sessionId;
	}


	public int getRoundNumber() {
		return roundNumber;
	}

	
	
	public Brick getMove() {
		return move;
	}

	public SessionId getSessionId() {
		return sessionId;
	}

	@Override
	public String toString() {
		return "PutRequest [clientColor=" + clientColor + ", move=" + move
				+ ", point=" + point + ", roundNumber=" + roundNumber
				+ ", sessionId=" + sessionId + "]";
	}

	

	
	
	
}
